package com.hc.res;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author hecai
 * @date 2021/12/7 15:10
 * 商品表（SPU）
 */
@Getter
@Setter
@ToString
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SpuDetail implements Serializable {
    private static final long serialVersionUID = 2167333841498113035L;

    /**
     * 商品名称
     */
    @ApiModelProperty(value = "商品名称")
    private String name;

    /**
     * 副标题
     */
    @ApiModelProperty(value = "副标题")
    private String caption;

    /**
     * 商品属性列表
     */
    @ApiModelProperty(value = "商品属性列表")
    private String specs;

    /**
     * 品牌编号
     */
    @ApiModelProperty(value = "品牌编号")
    private Integer brandId;

    /**
     * 售后服务
     */
    @TableField(value = "service")
    @ApiModelProperty(value = "售后服务")
    private String service;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String info;

    /**
     * 县区编号
     */
    @ApiModelProperty(value = "县区编号")
    private Integer countryId;

    /**
     * 具体产地
     */
    @ApiModelProperty(value = "具体产地")
    private String addr;

    /**
     * 品牌名称
     */
    private String brandName;

    /**
     * 省市县
     */
    private String provinceCityCountry;
}